Skip to main content
This forum is closed to new posts and responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Create Replica in Lotus Script
Feedback Type: Question
Product Area: Database
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always

Hi, Using LotusScript to CreateReplica of numerous Lotus Notes databases created since 2003. After agent runs, some of the databases are fully initialized without issuing a db.Replicate. For other dbs, even with db.Replicate, all documents are truncated. Have verified ReplicationInfo Abstract is False and Disabled is False.

If the database is opened through Notes Client and all documents selected, Action - Retrieve Entire Document works. What is the LotusScript equivalent?

Here is the agent. User running agent has manager access and all capabilities.
Sub CheckForStuff(db_parm As NotesDatabase)
Dim replica As NotesDatabase
Dim flag As Variant
Dim rep As NotesReplication
Set replica = db_parm.CreateReplica("","c:\archive\" & db_parm.FileName)
Set rep = replica.ReplicationInfo
rep.Abstract = False
rep.Disabled = False
Call rep.Save()
flag = replica.Replicate( "Server" )

The flag shows true. I see a message at the bottom of the screen when this runs that it is exchanging read marks between the replica and server.

Any ideas what to try next?


Feedback number WEBB8X2J9J created by ~Vanessa Asalumarobu on 08/10/2012

Status: Open
Comments:

Create Replica in Lotus Script (~Vanessa Asalum... 10.Aug.12)
. . Create Replica in Lotus Script (~Andy Kinizen 27.Jun.17)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS